﻿@model M3AI.Models.LoginModel

@{
    ViewBag.Title = "登录";
}

@section Header {
    @Html.ActionLink("取消", "Index", "Home", null, new { data_icon = "arrow-l", data_rel = "back" })
    <h1>@ViewBag.Title</h1>
}
<p style="height: 53px; background-image: url('/Content/Images/LogOnLogo.Png'); background-position: center top; background-repeat: no-repeat;">
</p>


@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <ul data-role="listview" data-inset="true">
        @*        <li data-role="list-divider">详细信息</li>*@
        <li data-role="fieldcontain">请输入用户名和密码:
        </li>
        <li data-role="fieldcontain">

            @Html.LabelFor(m => m.UserName)
            @Html.TextBoxFor(m => m.UserName)
        </li>

        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.Password)
            @Html.PasswordFor(m => m.Password)
        </li>

        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.RememberMe)
            @Html.CheckBoxFor(m => m.RememberMe)
        </li>

        <li data-role="fieldcontain">
            <input type="submit" value="登录" />
        </li>
    </ul>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}